/*
 *    Copyright © OpenAtom Foundation.
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *         http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

package com.inspur.edp.bff.entity;

import com.inspur.edp.bff.entity.defaultvalue.VoDefaultValue;

import java.util.ArrayList;

public class RetrieveDefaultParam {
    private ArrayList<String> ids = new ArrayList<>();
    private ArrayList<VoDefaultValue> defaultValues = new ArrayList<>();
    private boolean isBatch = false;

    /**
     * 传入的id字段列表，目前暂不支持
     *
     * @return
     */
    public ArrayList<String> getIds() {
        return ids;
    }

    /**
     * 默认值列表，每个元素对应的{@link VoDefaultValue}中记录了每条数据要新增的字段及其默认值
     *
     * @return
     */
    public ArrayList<VoDefaultValue> getVoDefaultValues() {
        return defaultValues;
    }

    public boolean isBatch() {
        return isBatch;
    }

    /**
     * 设置是否批量新增
     *
     * @param batch
     */
    public void setBatch(boolean batch) {
        isBatch = batch;
    }
}
